import turtle

x1,y1,r1 = eval(input("请输入a圆的x,y坐标和半径r"))
x2,y2,r2 = eval(input("请输入b圆的x,y坐标和半径r"))

distance = ( (x1-x2)**2 + (y1-y2)**2 ) ** 0.5

turtle.hideturtle()
turtle.penup()
turtle.goto(x1,y1-r1)
turtle.write("a圆")
turtle.pendown()
turtle.circle(r1)


turtle.penup()
turtle.goto(x2,y2-r2)
turtle.write("b圆")
turtle.pendown()
turtle.circle(r2)


turtle.penup()
turtle.goto(0,100)
turtle.pendown()

if distance <= abs(r1-r2):
    turtle.write("b圆在a圆里面" if r1-r2>0 else "a圆在b圆里面")
elif distance <= r1+r2:
    turtle.write("a圆和b圆重叠")
else:
    turtle.write("两圆不相交。")

turtle.done()







